package org.infosys.basic.query;

import lombok.Data;
/**
* @Description: 分页查询条件类
* @Author: hank
* @Version: 1.0
* @Date:  2022/6/21 17:41
*/
@Data
public class BaseQueyr {
    private Integer currentPage = 1;

    private Integer pageSize = 5;

    public Integer getStart() {
        return (this.currentPage - 1) * this.pageSize;
    }
}
